<table style="width:100%;">
<tr>
<td class="border2">
<table style="width:100%;" cellspacing="4">
 	<tr>
     	<td class="mainmenu5" style="padding:6px;font-size:8pt;">
     		<b>{language text="core.contact.panel"}</b>
     	</td>
 	</tr>
 	<tr>
    <td>
 	<table style="width:100%;">
 	<tr>
 	<td style="width:50%;vertical-align:top;">
 	<table style="width:100%;margin-left:auto;margin-right:auto;text-align:left;" cellpadding="1" cellspacing="1">
 	<tr>
 	 	<td style="cursor:default;" class="menu" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
 	 		{if $bLoggedIn}
 	 		<a href="{url link=public.account.messages.compose user=$aUser.user}">{language text="send_message"}</a>
 	 		{else}
 	 		<a href="{url link=public.login}">{language text="send_message"}</a>
 	 		{/if}

 	 	</td>
 	</tr>
 	<tr>
 	 	<td style="cursor:default;" class="menu" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
 	 		{if $bLoggedIn}
 	 		<a href="javascript:popUp2('{url link='public.account.messenger.chat' userid=$aUser.id type='request'}','{$iImChatHeight}','{$iImChatWidth}','yes','200','100');">{language text="instant_message"}</a>
 	 		{else}
 	 		<a href="{url link=public.login}">{language text="instant_message"}</a>
 	 		{/if}
 	 	</td>
 	</tr>
 	<tr>

 	 	<td style="cursor:default;" class="menu" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
 	 		{if $bLoggedIn}
 	 		<a href="{url link='public.account.friends.add' id=$aUser.id}">{language text="add_to_friends"}</a>
 	 		{else}
 	 		<a href="{url link=public.login}">{language text="add_to_friends"}</a>
 	 		{/if}
 	 	</td>
 	</tr>
 	<tr>
 	 	<td style="cursor:default;" class="menu" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
			{if $bLoggedIn}
 	 		<a href="{url link=public.groups.invitetogroup invuser=$aUser.user}">{language text="invite_to_groups"}</a>
 	 		{else}
 	 		<a href="{url link=public.login}">{language text="invite_to_groups"}</a>
 	 		{/if}
 	 	</td>

 	</tr>
 	</table>
 	</td><td style="width:50%;vertical-align:top;">
 	<table style="width:100%;margin-left:auto;margin-right:auto;text-align:left;" cellpadding="1" cellspacing="1">
 	{if $bCrush}
 	<tr>
 	 	<td style="cursor:default;" class="menu" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
 	 		{if $bLoggedIn}
 	 		<a href="{url link=public.account.messages.sendcrush user=$aUser.user}">{language text="send_crush"}</a>
 	 		{else}
 	 		<a href="{url link=public.login}">{language text="send_crush"}</a>
 	 		{/if}
 	 	</td>

 	</tr>
 	{/if}
 	<tr>
 	 	<td style="cursor:default;" class="menu" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
 	 		{if $bLoggedIn}
 	 		<a href="{url link='public.account.favorites' act=add id=$aUser.id}">{language text="add_to_favorites"}</a>
 	 		{else}
 	 		<a href="{url link=public.login}">{language text="add_to_favorites"}</a>
 	 		{/if}
 	 	</td>
 	</tr>
    {if $bRate}
 	<tr>
 	 	<td style="cursor:default;" class="menu" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
	 	 	{if $bLoggedIn}
 	 		<a href="javascript:popUp2('{url link='public.popup.rate' id=$aUser.id}','730','500','yes','200','100');">{language text="rate_me"}</a>
 	 		{else}
 	 		<a href="{url link=public.login}">{language text="rate_me"}</a>
 	 		{/if}
 	 	</td>
 	</tr>
    {/if}
    {if $bAllowBlock}
 	<tr>
 	 	<td style="cursor:default;" class="menu" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
        {if $bIsBlocked}
            <a href="{url link='public.block-user' act='unblock_user' id=$aUser.id}">{language text="unblock_user"}</a>
        {else}
			{if $bLoggedIn}
            <a href="{url link='public.block-user' id=$aUser.id}">{language text="block_user"}</a>
            {else}
 	 		<a href="{url link=public.login}">{language text="block_user"}</a>
 	 		{/if}
        {/if}
 	 	</td>
 	</tr>
    {/if}
 	</table>
 	</td>
 	</tr>
 	</table>
	</td>
</tr>
</table>
</td>
</tr>
</table>